import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms'; // 双向数据绑定

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { FenyeComponent } from './pages/fenye/fenye.component';
import { IndexComponent } from './pages/index/index.component';

@NgModule({
  declarations: [
    AppComponent,
    FenyeComponent,
    IndexComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    FormsModule
  ],
  bootstrap: [IndexComponent]
})
export class AppModule { }
